package com.android.msntop.services;

import com.android.msntop.services.IPingServiceCallBack;

/**
 * Example of defining an interface for calling on to a remote service
 * (running in another process).
 */
interface IPingService {
    /* Register callback */
    void registerCallback(IPingServiceCallBack callback);
    
    /* unRegister callback */
    void unregisterCallback(IPingServiceCallBack callback);
    
    /* Check status using ping */
    
    void isHostUp(String host);
    
    /* Check status using http */    
    void isHostUrlUp(String host, String optPath);
  
    
    /* Check status with ping, specifying number of packets */
    
    void isHostUpP(String host, int nump);
}
